package com.camtc.camcenter.dao.entity;

import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

/**
 * 基础实体类
 *
 * @author
 * @date
 */
@Data
public class BaseEntity implements Serializable {
    
    @CreationTimestamp
    private Date createTime;

    @UpdateTimestamp
    private Date updateTime;

    @Column(name = "remark", length = 500)
    private String remark;

}
